package com.ktgj.flight.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.io.Serializable;

/**
 * 航信行程单地址对象 flight_order_address_post
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightOrderAddressPost implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 客户基本信息ID */
    @Excel(name = "客户基本信息ID")
    private Long customerId;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddress;

    /** 收件人 */
    @Excel(name = "收件人")
    private String addressOwner;

    /** 邮寄方式  1快递 2挂号 3平信 */
    @Excel(name = "邮寄方式  1快递 2挂号 3平信")
    private String postWay;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String contactPostcode;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String contactPhone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }
    public void setAddressOwner(String addressOwner) 
    {
        this.addressOwner = addressOwner;
    }

    public String getAddressOwner() 
    {
        return addressOwner;
    }
    public void setPostWay(String postWay) 
    {
        this.postWay = postWay;
    }

    public String getPostWay() 
    {
        return postWay;
    }
    public void setContactPostcode(String contactPostcode) 
    {
        this.contactPostcode = contactPostcode;
    }

    public String getContactPostcode() 
    {
        return contactPostcode;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("contactAddress", getContactAddress())
            .append("addressOwner", getAddressOwner())
            .append("postWay", getPostWay())
            .append("contactPostcode", getContactPostcode())
            .append("contactPhone", getContactPhone())
            .toString();
    }
}
